package com.gg.service;
import com.gg.pojo.ResultData;
import com.gg.service.impl.OrderServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Auther: YDYX
 * @Date: 2022/1/11 - 01 - 11 - 11:23
 * @Description: com.gg.service
 * @version: 1.0
 */
@FeignClient(value = "gg-provider-payment",fallback = OrderServiceImpl.class)
public interface OrderService {
    @GetMapping("/getOrder/{id}")
    ResultData getOrder(@PathVariable("id") Integer id);

}
